package com.fz.us.admin.company.entity;

import javax.persistence.*;

/**
 * 提醒事项
 * Created by ZhuChunXiao on 2017/4/11.
 */
@Entity
@Table(name="sys_remind")
public class Remind extends CompanyEntity {


    private static final long serialVersionUID = -8640500003426315953L;
    //文档id
    private String keyId;
    //所属的实体类名
    private String bussinessKey;
    //关联的用户
    private User user;
    //提醒内容
    private String content;

    @ManyToOne(fetch = FetchType.LAZY)
    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getBussinessKey() {
        return bussinessKey;
    }

    public void setBussinessKey(String bussinessKey) {
        this.bussinessKey = bussinessKey;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
